<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>会话列表</title>
    <link href="https://cdn.jsdelivr.net/gh/kognise/water.css@latest/dist/dark.min.css" rel="stylesheet"/>
</head>
<body>
<ul th:each="item,it : ${sessions}">
<!--    <li>index:<span th:text="${it.index}"></span></li>-->
    <li>会话:<span th:text="${item}"></span><button th:onclick="send_msg([[${item}]])">send</button></li>
</ul>
<script>
</script>
</body>
</html>